<!DOCTYPE html>
<html lang="en-US">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>汇编工具命令查阅表 | whoway</title>
    <meta name="description" content="Personal Blog Website">
    <link rel="icon" href="/images/photo.jpg">
  <link rel="manifest" href="/images/photo.jpg">
  <link rel="apple-touch-icon" href="/images/photo.jpg">
  <meta http-quiv="pragma" cotent="no-cache">
  <meta http-quiv="pragma" cotent="no-cache,must-revalidate">
  <meta http-quiv="expires" cotent="0">
    
    <link rel="preload" href="/assets/css/0.styles.0dbae9ec.css" as="style"><link rel="preload" href="/assets/js/app.c70e21ad.js" as="script"><link rel="preload" href="/assets/js/119.4ccbe778.js" as="script"><link rel="prefetch" href="/assets/js/10.15222a53.js"><link rel="prefetch" href="/assets/js/100.7e0e5a86.js"><link rel="prefetch" href="/assets/js/101.efd59f25.js"><link rel="prefetch" href="/assets/js/102.dfbdc06c.js"><link rel="prefetch" href="/assets/js/103.d3ab2109.js"><link rel="prefetch" href="/assets/js/104.117957ef.js"><link rel="prefetch" href="/assets/js/105.046e8ff3.js"><link rel="prefetch" href="/assets/js/106.aebdc17d.js"><link rel="prefetch" href="/assets/js/107.248733c2.js"><link rel="prefetch" href="/assets/js/108.a2fecadc.js"><link rel="prefetch" href="/assets/js/109.35196857.js"><link rel="prefetch" href="/assets/js/11.770642f2.js"><link rel="prefetch" href="/assets/js/110.cf3d973c.js"><link rel="prefetch" href="/assets/js/111.f985889a.js"><link rel="prefetch" href="/assets/js/112.ad614f41.js"><link rel="prefetch" href="/assets/js/113.f666653c.js"><link rel="prefetch" href="/assets/js/114.c6c3f384.js"><link rel="prefetch" href="/assets/js/115.e51d3c2f.js"><link rel="prefetch" href="/assets/js/116.4f4b39f5.js"><link rel="prefetch" href="/assets/js/117.99352e11.js"><link rel="prefetch" href="/assets/js/118.c6ae6572.js"><link rel="prefetch" href="/assets/js/12.042a92ff.js"><link rel="prefetch" href="/assets/js/120.edda1c4f.js"><link rel="prefetch" href="/assets/js/121.30a638ed.js"><link rel="prefetch" href="/assets/js/122.6efcefb1.js"><link rel="prefetch" href="/assets/js/123.91e6665b.js"><link rel="prefetch" href="/assets/js/124.f27e3d7e.js"><link rel="prefetch" href="/assets/js/125.c75712d5.js"><link rel="prefetch" href="/assets/js/126.ed756cce.js"><link rel="prefetch" href="/assets/js/127.2f06c74c.js"><link rel="prefetch" href="/assets/js/128.d5f6f30e.js"><link rel="prefetch" href="/assets/js/129.508b7eed.js"><link rel="prefetch" href="/assets/js/13.b5280c37.js"><link rel="prefetch" href="/assets/js/130.dc05f9aa.js"><link rel="prefetch" href="/assets/js/131.e0ba69b1.js"><link rel="prefetch" href="/assets/js/132.d79bcaa4.js"><link rel="prefetch" href="/assets/js/133.34acc01a.js"><link rel="prefetch" href="/assets/js/134.dabf64d5.js"><link rel="prefetch" href="/assets/js/135.ad90c915.js"><link rel="prefetch" href="/assets/js/136.dbb0074f.js"><link rel="prefetch" href="/assets/js/137.284ad365.js"><link rel="prefetch" href="/assets/js/138.a4b6856f.js"><link rel="prefetch" href="/assets/js/139.c9c1e20f.js"><link rel="prefetch" href="/assets/js/14.df02ba38.js"><link rel="prefetch" href="/assets/js/140.8b0a9269.js"><link rel="prefetch" href="/assets/js/141.9c7759c5.js"><link rel="prefetch" href="/assets/js/142.a4201a82.js"><link rel="prefetch" href="/assets/js/143.d7da6e8c.js"><link rel="prefetch" href="/assets/js/144.5e48e65d.js"><link rel="prefetch" href="/assets/js/145.a0e2633c.js"><link rel="prefetch" href="/assets/js/146.3c775f9b.js"><link rel="prefetch" href="/assets/js/147.22add89a.js"><link rel="prefetch" href="/assets/js/148.cfde1009.js"><link rel="prefetch" href="/assets/js/149.ffc835b5.js"><link rel="prefetch" href="/assets/js/15.fbdfc4ee.js"><link rel="prefetch" href="/assets/js/150.406c4b20.js"><link rel="prefetch" href="/assets/js/151.b2040eea.js"><link rel="prefetch" href="/assets/js/152.7bc65661.js"><link rel="prefetch" href="/assets/js/153.1d7c65e3.js"><link rel="prefetch" href="/assets/js/154.1309de49.js"><link rel="prefetch" href="/assets/js/155.81d3ee1f.js"><link rel="prefetch" href="/assets/js/156.154a4ef2.js"><link rel="prefetch" href="/assets/js/16.e5eb6147.js"><link rel="prefetch" href="/assets/js/17.57853c4a.js"><link rel="prefetch" href="/assets/js/18.cb9d7518.js"><link rel="prefetch" href="/assets/js/19.f354dc47.js"><link rel="prefetch" href="/assets/js/2.570d8a23.js"><link rel="prefetch" href="/assets/js/20.b5af7fad.js"><link rel="prefetch" href="/assets/js/21.0b1928fe.js"><link rel="prefetch" href="/assets/js/22.f78666de.js"><link rel="prefetch" href="/assets/js/23.29c3f366.js"><link rel="prefetch" href="/assets/js/24.6f596516.js"><link rel="prefetch" href="/assets/js/25.14067b60.js"><link rel="prefetch" href="/assets/js/26.74ba4989.js"><link rel="prefetch" href="/assets/js/27.13d60edd.js"><link rel="prefetch" href="/assets/js/28.9523cb32.js"><link rel="prefetch" href="/assets/js/29.8ec842e9.js"><link rel="prefetch" href="/assets/js/3.3fb3d2e0.js"><link rel="prefetch" href="/assets/js/30.805597a8.js"><link rel="prefetch" href="/assets/js/31.831b195d.js"><link rel="prefetch" href="/assets/js/32.063c672d.js"><link rel="prefetch" href="/assets/js/33.6d93fac3.js"><link rel="prefetch" href="/assets/js/34.56e8263c.js"><link rel="prefetch" href="/assets/js/35.dbe688bb.js"><link rel="prefetch" href="/assets/js/36.dc5af2c1.js"><link rel="prefetch" href="/assets/js/37.0a7494f6.js"><link rel="prefetch" href="/assets/js/38.fe4fc171.js"><link rel="prefetch" href="/assets/js/39.f5ed5e92.js"><link rel="prefetch" href="/assets/js/4.2c405ec8.js"><link rel="prefetch" href="/assets/js/40.fe7e2714.js"><link rel="prefetch" href="/assets/js/41.30b0811d.js"><link rel="prefetch" href="/assets/js/42.76f52d62.js"><link rel="prefetch" href="/assets/js/43.e7bb0817.js"><link rel="prefetch" href="/assets/js/44.ead0e883.js"><link rel="prefetch" href="/assets/js/45.235df046.js"><link rel="prefetch" href="/assets/js/46.5f09e829.js"><link rel="prefetch" href="/assets/js/47.67116354.js"><link rel="prefetch" href="/assets/js/48.31f34543.js"><link rel="prefetch" href="/assets/js/49.10b5ebba.js"><link rel="prefetch" href="/assets/js/5.6f47322c.js"><link rel="prefetch" href="/assets/js/50.c0f0b7f1.js"><link rel="prefetch" href="/assets/js/51.5143f3bf.js"><link rel="prefetch" href="/assets/js/52.eeddfd48.js"><link rel="prefetch" href="/assets/js/53.eb790db5.js"><link rel="prefetch" href="/assets/js/54.8fe5421c.js"><link rel="prefetch" href="/assets/js/55.d8f9004b.js"><link rel="prefetch" href="/assets/js/56.62ac9b92.js"><link rel="prefetch" href="/assets/js/57.a9caec0d.js"><link rel="prefetch" href="/assets/js/58.f93fc522.js"><link rel="prefetch" href="/assets/js/59.a81a03aa.js"><link rel="prefetch" href="/assets/js/6.8c2ea393.js"><link rel="prefetch" href="/assets/js/60.ab782775.js"><link rel="prefetch" href="/assets/js/61.6dd12daf.js"><link rel="prefetch" href="/assets/js/62.76f4b01f.js"><link rel="prefetch" href="/assets/js/63.6f8a4742.js"><link rel="prefetch" href="/assets/js/64.6f8bb1fa.js"><link rel="prefetch" href="/assets/js/65.4120a44b.js"><link rel="prefetch" href="/assets/js/66.360c2d2b.js"><link rel="prefetch" href="/assets/js/67.26f84d32.js"><link rel="prefetch" href="/assets/js/68.68f45e5e.js"><link rel="prefetch" href="/assets/js/69.e311eb56.js"><link rel="prefetch" href="/assets/js/7.6762b2d7.js"><link rel="prefetch" href="/assets/js/70.cea82674.js"><link rel="prefetch" href="/assets/js/71.783ddcf7.js"><link rel="prefetch" href="/assets/js/72.e5467385.js"><link rel="prefetch" href="/assets/js/73.b8fb681b.js"><link rel="prefetch" href="/assets/js/74.1bae37db.js"><link rel="prefetch" href="/assets/js/75.024387e5.js"><link rel="prefetch" href="/assets/js/76.a8e53010.js"><link rel="prefetch" href="/assets/js/77.8c55500a.js"><link rel="prefetch" href="/assets/js/78.7ce90bf5.js"><link rel="prefetch" href="/assets/js/79.ef71713f.js"><link rel="prefetch" href="/assets/js/8.788a6364.js"><link rel="prefetch" href="/assets/js/80.acad589d.js"><link rel="prefetch" href="/assets/js/81.02670d10.js"><link rel="prefetch" href="/assets/js/82.53b7b1ac.js"><link rel="prefetch" href="/assets/js/83.99eb8581.js"><link rel="prefetch" href="/assets/js/84.d1535ce3.js"><link rel="prefetch" href="/assets/js/85.fe2b7de9.js"><link rel="prefetch" href="/assets/js/86.41850272.js"><link rel="prefetch" href="/assets/js/87.1cdc6df9.js"><link rel="prefetch" href="/assets/js/88.01bf3461.js"><link rel="prefetch" href="/assets/js/89.17c69819.js"><link rel="prefetch" href="/assets/js/9.3813842d.js"><link rel="prefetch" href="/assets/js/90.f6ae7e35.js"><link rel="prefetch" href="/assets/js/91.507bc284.js"><link rel="prefetch" href="/assets/js/92.90551782.js"><link rel="prefetch" href="/assets/js/93.dc442d78.js"><link rel="prefetch" href="/assets/js/94.315f4e94.js"><link rel="prefetch" href="/assets/js/95.ccd6c6bf.js"><link rel="prefetch" href="/assets/js/96.0c6d89d0.js"><link rel="prefetch" href="/assets/js/97.1a9f10a9.js"><link rel="prefetch" href="/assets/js/98.43be3caa.js"><link rel="prefetch" href="/assets/js/99.54c8207b.js">
    <link rel="stylesheet" href="/assets/css/0.styles.0dbae9ec.css">
  </head>
  <body>
    <div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/" class="home-link router-link-active"><!----> <span class="site-name">whoway</span></a> <div class="links" style="max-width:nullpx;"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">🎓Coding</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/00.Coding/TheBeautyOfProgramming/" class="nav-link">🔖编程之美题解</a></li><li class="dropdown-item"><!----> <a href="/00.Coding/CodeWarehouse/" class="nav-link">🔖代码意识流</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">🚀语言</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/01.Language/Overview/" class="nav-link">🔖概述</a></li><li class="dropdown-item"><!----> <a href="/01.Language/C/" class="nav-link">⭐️C</a></li><li class="dropdown-item"><!----> <a href="/01.Language/Cpp/" class="nav-link">🚀C++</a></li><li class="dropdown-item"><!----> <a href="/01.Language/Java/" class="nav-link">☕️Java</a></li><li class="dropdown-item"><!----> <a href="/01.Language/Python/" class="nav-link">🧩Python3</a></li></ul></div></div><div class="nav-item"><a href="/02.Hardware/" class="nav-link">✔️硬件基础</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">⭐️软件基础</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/03.Software/01.DataStructureAndAlgorithm/" class="nav-link">🐾数据结构和算法</a></li><li class="dropdown-item"><!----> <a href="/03.Software/02.OS/" class="nav-link">💻操作系统</a></li><li class="dropdown-item"><!----> <a href="/03.Software/03.Net/" class="nav-link">☁️计算机网络</a></li><li class="dropdown-item"><!----> <a href="/03.Software/04.SE/" class="nav-link">✅软件工程</a></li></ul></div></div><div class="nav-item"><a href="/04.Database/" class="nav-link">🎨数据库</a></div><div class="nav-item"><a href="/05.Engineer/" class="nav-link router-link-active">🔖学术/工程</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">⚙️工具</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/06.Tools/01.employment/" class="nav-link">🔖求职</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/02.efficiency/" class="nav-link">🚀效能</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/03.windows/" class="nav-link">⚙️Windows</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/04.design/" class="nav-link">🧩设计</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/05.linux/" class="nav-link">🐉Linux</a></li></ul></div></div><div class="nav-item"><a href="https://github.com/whoway" target="_blank" rel="noopener noreferrer" class="nav-link external">
  GitHub
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <div class="sidebar"><nav class="nav-links"><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">🎓Coding</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/00.Coding/TheBeautyOfProgramming/" class="nav-link">🔖编程之美题解</a></li><li class="dropdown-item"><!----> <a href="/00.Coding/CodeWarehouse/" class="nav-link">🔖代码意识流</a></li></ul></div></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">🚀语言</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/01.Language/Overview/" class="nav-link">🔖概述</a></li><li class="dropdown-item"><!----> <a href="/01.Language/C/" class="nav-link">⭐️C</a></li><li class="dropdown-item"><!----> <a href="/01.Language/Cpp/" class="nav-link">🚀C++</a></li><li class="dropdown-item"><!----> <a href="/01.Language/Java/" class="nav-link">☕️Java</a></li><li class="dropdown-item"><!----> <a href="/01.Language/Python/" class="nav-link">🧩Python3</a></li></ul></div></div><div class="nav-item"><a href="/02.Hardware/" class="nav-link">✔️硬件基础</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">⭐️软件基础</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/03.Software/01.DataStructureAndAlgorithm/" class="nav-link">🐾数据结构和算法</a></li><li class="dropdown-item"><!----> <a href="/03.Software/02.OS/" class="nav-link">💻操作系统</a></li><li class="dropdown-item"><!----> <a href="/03.Software/03.Net/" class="nav-link">☁️计算机网络</a></li><li class="dropdown-item"><!----> <a href="/03.Software/04.SE/" class="nav-link">✅软件工程</a></li></ul></div></div><div class="nav-item"><a href="/04.Database/" class="nav-link">🎨数据库</a></div><div class="nav-item"><a href="/05.Engineer/" class="nav-link router-link-active">🔖学术/工程</a></div><div class="nav-item"><div class="dropdown-wrapper"><a class="dropdown-title"><span class="title">⚙️工具</span> <span class="arrow right"></span></a> <ul class="nav-dropdown" style="display:none;"><li class="dropdown-item"><!----> <a href="/06.Tools/01.employment/" class="nav-link">🔖求职</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/02.efficiency/" class="nav-link">🚀效能</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/03.windows/" class="nav-link">⚙️Windows</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/04.design/" class="nav-link">🧩设计</a></li><li class="dropdown-item"><!----> <a href="/06.Tools/05.linux/" class="nav-link">🐉Linux</a></li></ul></div></div><div class="nav-item"><a href="https://github.com/whoway" target="_blank" rel="noopener noreferrer" class="nav-link external">
  GitHub
  <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav>  <ul class="sidebar-links"><li><div class="sidebar-group first"><p class="sidebar-heading open"><span>汇编工具命令查阅表</span> <!----></p> <ul class="sidebar-group-items"><li><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_1-linux下⭐️⭐️⭐️" class="sidebar-link">1.Linux下⭐️⭐️⭐️</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_1-2-ld，gnu链接器（linker）" class="sidebar-link">1.2.ld，GNU链接器（Linker）</a></li><li class="sidebar-sub-header"><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_1-3-objdump-gnu目标文件可执行文件查看器（反汇编常用）" class="sidebar-link">1.3.objdump, GNU目标文件可执行文件查看器（反汇编常用）</a></li></ul></li><li><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_2-windows下" class="sidebar-link">2.Windows下</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_2-1-cl-msvc编译器" class="sidebar-link">2.1.cl,MSVC编译器</a></li><li class="sidebar-sub-header"><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_2-2-link，-msvc链接器" class="sidebar-link">2.2.link， MSVC链接器</a></li><li class="sidebar-sub-header"><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_2-3-dumpbin-msvc的coff-pe文件查看器（反汇编常用）" class="sidebar-link">2.3.dumpbin, MSVC的COFF/PE文件查看器（反汇编常用）</a></li></ul></li><li><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_3-对比记忆两者命令" class="sidebar-link">3.对比记忆两者命令</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#ascii码表" class="sidebar-link">ASCII码表</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_01-缘由" class="sidebar-link">01.缘由</a><ul class="sidebar-sub-headers"></ul></li><li><a href="/05.Engineer/%E6%B1%87%E7%BC%96%E8%AF%AD%E8%A8%80/04.%E6%B1%87%E7%BC%96%E5%B7%A5%E5%85%B7%E6%9F%A5%E9%98%85%E8%A1%A8.html#_02-ascii码表和解释" class="sidebar-link">02.ASCII码表和解释</a><ul class="sidebar-sub-headers"></ul></li></ul></div></li></ul> </div> <div class="page"> <div class="content"><h1 id="汇编工具命令查阅表"><a href="#汇编工具命令查阅表" class="header-anchor">#</a> 汇编工具命令查阅表</h1> <ul><li>底层工具集《转载和修改》
😄</li></ul> <h2 id="_1-linux下⭐️⭐️⭐️"><a href="#_1-linux下⭐️⭐️⭐️" class="header-anchor">#</a> 1.Linux下⭐️⭐️⭐️</h2> <h3 id="_1-2-ld，gnu链接器（linker）"><a href="#_1-2-ld，gnu链接器（linker）" class="header-anchor">#</a> 1.2.ld，GNU链接器（Linker）</h3> <ul><li><code>-static</code>:静态链接。</li> <li><code>-I&lt;libname&gt;</code>:指定链接某个库。</li> <li><code>-o</code>:指定输出文件名。</li> <li><code>-s</code>:清除输出文件中的符号信息。</li> <li><code>-S</code>:清除输出文件中的调试信息。</li></ul> <div class="language-txt line-numbers-mode"><pre class="language-text"><code>`-e name`:指定name为程序尺口。
`-r`: 合并目标文件，不进行最终链接。
`-L &lt;directory&gt;`:指定链接时查找路径，多个路径之间用冒号隔开。
`-M`;将链接时的符号和地址输出成-个映射文件。
`-T &lt;scriptfile&gt;`:指定链接脚本文件。
`-version-script &lt;file&gt;`:指定符号版本脚本文件。
`-soname &lt;name&gt;`:指定输出共享库的SONAME.
`-export dynamic`:将全局符号全部导出。
`-verbose`:链接时输出详细信息。
`-rpath &lt;path&gt;`:指定链接时库查找路径。
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br></div></div><h3 id="_1-3-objdump-gnu目标文件可执行文件查看器（反汇编常用）"><a href="#_1-3-objdump-gnu目标文件可执行文件查看器（反汇编常用）" class="header-anchor">#</a> 1.3.objdump, GNU目标文件可执行文件查看器（反汇编常用）</h3> <ul><li><code>-a</code>:列举.a文件中所有的目标文件。</li> <li><code>-b</code> bfdname:指定BFD名。</li> <li><code>-C</code>:对于C++符号名进行反修饰(Demangle).</li> <li><code>-g</code>:显示调试信息。</li> <li><code>-d</code>:对包含机器指令的段进行反汇编。</li> <li><code>-D</code>:对所有的段进行反汇编。</li> <li><code>-f</code>:显示目标文件文件头。</li> <li><code>-h</code>: 显示段表。</li> <li><code>|</code>:显示行 号信息。</li> <li><code>-p</code>:显示专有头部信息，具体内容取决于文件格式。</li> <li><code>-r</code>:显示重定位信息。</li> <li><code>-R</code>:显示动态链接重定位信息。</li> <li><code>-S</code>:.显示文件所有内容。</li> <li><code>-S</code>:显示源代码和反汇编代码(包含-d参数)。</li> <li><code>-W</code>:显示文件中包含有DWARF调试信息格式的段。</li> <li><code>-t</code>:显示文件中的符号表。</li> <li><code>-T</code>:显示动态链接符号表。</li> <li><code>-X</code>：显示文件的所有文件头。</li></ul> <h2 id="_2-windows下"><a href="#_2-windows下" class="header-anchor">#</a> 2.Windows下</h2> <ul><li><p><strong>VS自带工具</strong>: cl,link,dumpbin的使用<br>
打开方式：以安装了VS2012为例，3种方式可以在命令行中使用这些<br>
1）去VS2012点安装目录，找到目录<code>Common7/Tools/vsvars32.bat</code>
注：每次开机后都要双击此才可执行<br>
2）优化1）查看了那个批处理文件，我们设置环境变量也能实现需求<br>
3）去所有应用中找到一个黑色框框快捷键，名字叫<code>Developer Command Prompt for VS2012</code>
双击它，在这个里面就可以使用这三个工具</p></li> <li><p>此外，VS2012，我们在写代码的时候，也可以查看自己代码的<strong>反汇编</strong>：<br>
1）先设置断点，注意是Debug版本，否则代码经过优化会多很多。<br>
2）然后按钮F5或者点击Debug-&gt;Start Debuging程序会走到断点处停下  。
3）然后点击按钮 Debug-&gt;Windows-&gt;DisAssambly即可看到汇编窗口
对于3）和返回源代码，我喜欢的快捷键<br> <code>右击+D（查看反汇编后的代码）</code> <code>右击+G（从反汇编返回源代码）</code></p></li></ul> <h3 id="_2-1-cl-msvc编译器"><a href="#_2-1-cl-msvc编译器" class="header-anchor">#</a> 2.1.<code>cl</code>,MSVC编译器</h3> <p><code>/c</code>:只编译不链接<br> <code>/Za</code>:禁止语言扩展<br> <code>/link</code>:链接指定的模块或给链接器传递参数<br> <code>/Od</code>:（大写字母O）禁止优化<br> <code>/O2</code>:（大写字母O）以运行速度最快为目标优化<br> <code>/O1</code>:（大写字母O）以最节省空间为目标优化<br> <code>/GR或/GR-</code>:开启或关闭RTTI<br> <code>/Gy</code>:开启函数级别链接<br> <code>/GS或/GS-</code>:开启或关闭</p> <p><code>/Fa[file]</code>:输出汇编文件<br> <code>/E</code>:只进行预处理并且把结果输出<br> <code>/I</code>:指定头文件包含目录<br> <code>/Zi</code>:启用调试信息<br> <code>/LD</code>:编译产生DLL文件<br> <code>/LDd</code>:编译产生DLL文件(调试版)<br> <code>/MD</code>:与动态 多线程版本运行库MSVCRTLIB链接<br> <code>MDd</code>:与调试版动态多线程版本运行库MSVCRTD.LIB链接<br> <code>/MT</code>:与静态多线程版本运行库LIBCMTLIB链接<br> <code>/MTd</code>:与调试版静态多线程版本运行库LIBCMTD.LIB链接</p> <h3 id="_2-2-link，-msvc链接器"><a href="#_2-2-link，-msvc链接器" class="header-anchor">#</a> 2.2.<code>link</code>， MSVC链接器</h3> <ul><li><code>/BASE:address</code>:指定输出文件的基地址</li> <li><code>/DEBUG</code>:输出调试模式版本</li> <li><code>/DEF:filename</code>: 指定模块定义文件.DEF</li> <li><code>/DEFAULTLIB:ibrary</code>:指定默认运行库</li> <li><code>/DLL</code>: 产生DLL</li> <li><code>/ENTRY:symbol</code>:指定程序入口</li> <li><code>/EXPORT:symbol</code>: 指定某个符号为导出符号</li> <li><code>/HEAP</code>:指定默认堆大小</li> <li><code>/LIBPATH:dir</code>:指定链接时库搜索路径</li> <li><code>/MAP[:filename]</code>: 产生链接MAP文件</li> <li><code>/NODEFAULTLIB[:ibrary]</code>:禁止默认运行库</li> <li><code>/OUT:filename</code>: 指定输出文件名</li> <li><code>/RELEASE</code>:以发布版本产生输出文件</li> <li><code>/STACK</code>: 指定默认栈大小</li> <li><code>/SUBSYSTEM</code>: 指定子系统</li></ul> <h3 id="_2-3-dumpbin-msvc的coff-pe文件查看器（反汇编常用）"><a href="#_2-3-dumpbin-msvc的coff-pe文件查看器（反汇编常用）" class="header-anchor">#</a> 2.3.<code>dumpbin</code>, MSVC的COFF/PE文件查看器（反汇编常用）</h3> <ul><li><code>/ALL</code>: 显示所有信息</li> <li><code>/ARCHIVEMEMBERS</code>: 显示.LIB 文件中所有目标文件列表</li> <li><code>/DEPENDENTS</code>:显示文件的动态链接依赖关系</li> <li><code>/DIRECTIVES</code>: 显示链接器指示</li> <li><code>/DISASM</code>: 显示反汇编</li> <li><code>/EXPORTS</code>:显示导出函数表</li> <li><code>/HEADERS</code>: 显示文件头</li> <li><code>/IMPORTS</code>: 显示导入函数表</li> <li><code>/LINENUMBERS</code>:显示行号信息</li> <li><code>/RELOCATIONS</code>: 显示重定位信息</li> <li><code>/SECTION:name</code> :显示某个段</li> <li><code>/SECTION</code>:显示文件概要信息</li> <li><code>/SYMBOLS</code>: 显示文件符号表</li> <li><code>/TLS</code>: 显示线程局部存储TLS信息</li></ul> <h2 id="_3-对比记忆两者命令"><a href="#_3-对比记忆两者命令" class="header-anchor">#</a> 3.对比记忆两者命令</h2> <ul><li>Windows下是dumpbin（dump+bin)</li> <li>linux下是objdump（obj+dump)</li></ul> <p>可以联想到<br>
我先前在Windows下写自己的汇编代码用的<code>Notepad++</code>和<code>NASM</code> <code>NASM</code>将<code>notepad++</code>写的代码<code>.asm</code>编译为<code>.bin</code>，所以，Windows下是bin<br>
PS：其实NASM也可以在Linux下编译，但是Linux下我常用gcc进行</p> <h2 id="ascii码表"><a href="#ascii码表" class="header-anchor">#</a> ASCII码表</h2> <ul><li>ASCII控制符和通讯字符</li></ul> <p><b>（0-255）</b></p> <blockquote><ul><li>第0~32号及第127号(共<strong>34</strong>个)是<strong>控制字符</strong>或<strong>通讯专用字符</strong>
如控制符: <code>LF(换行)、CR(回车)、FF(换页)、DEL(删除)、BEL(振铃)</code>等;
通讯专用字符:<code>SOH(文头)、EOT(文尾)、ACK(确认)</code>等;</li></ul> <blockquote><ul><li>第<code>33~126</code>号（共94个）是字符，其中第<code>48~57</code>号为0~9十个阿拉伯数字;</li> <li><code>65~90</code>号为26个大写英文字母，<code>97~122</code>号为26个小写英文字母，其余为一些标点符号、运算符号等。</li></ul></blockquote> <ul><li><strong>后128个(128——255)称为扩展ASCII码</strong>，目前许多基于<strong>x86</strong>的系统都支持使用扩展(或“高&quot;) ASCII。见最后一页扩展表:</li></ul></blockquote> <h2 id="_01-缘由"><a href="#_01-缘由" class="header-anchor">#</a> 01.缘由</h2> <p>几个月前，测试汇编和C语言的时候，有时候碰到控制字符的底层就会很抓狂。
比如，有时候测试一个ASCII对应响铃，但是由于自己把电脑静音了。没测出来</p> <p>此外，ASCII码表和扩展表，可以帮助更好的理解ASCII编码和Unicode和UTF8（Unicode的一种实现方式）</p> <h2 id="_02-ascii码表和解释"><a href="#_02-ascii码表和解释" class="header-anchor">#</a> 02.ASCII码表和解释</h2> <p>哪天闲着无聊，或许真的会把这个背记的（特别是前面的控制字符）</p> <p>😝</p> <p><font style="background:pink;">还需要继续整理完，顺路补充代码</font></p> <table><thead><tr><th>binary</th> <th>Dec</th> <th>Hex</th> <th>缩写字符</th> <th>解释</th></tr></thead> <tbody><tr><td>0000 0000</td> <td>0</td> <td>00</td> <td>NUL（<strong>NUL</strong>L）</td> <td>空字符</td></tr> <tr><td>0000 0001</td> <td>1</td> <td>01</td> <td>SOH（<strong>S</strong>tart Of Handling）</td> <td>标题开始</td></tr> <tr><td>0000 0010</td> <td>2</td> <td>02</td> <td>STX（<strong>S</strong>tart of <strong>T</strong>e<strong>X</strong>t）</td> <td>正文开始</td></tr> <tr><td>0000 0011</td> <td>3</td> <td>03</td> <td>ETX（<strong>E</strong>nd of <strong>T</strong>e<strong>X</strong>t）</td> <td>正文结束</td></tr> <tr><td>0000 0100</td> <td>4</td> <td>04</td> <td>EOT （<strong>E</strong>nd <strong>O</strong>f <strong>T</strong>ransmission）</td> <td>传输结束</td></tr> <tr><td>0000 0101</td> <td>5</td> <td>05</td> <td>ENQ （<strong>Enq</strong>uiry）</td> <td>请求</td></tr> <tr><td>0000 0110</td> <td>6</td> <td>06</td> <td>ACK （<strong>Ack</strong>nowledge）</td> <td>收到通知（告知收悉）</td></tr> <tr><td>0000 0111</td> <td>7</td> <td>07</td> <td>BEL （<strong>bel</strong>）</td> <td>响铃</td></tr> <tr><td>0000 1000</td> <td>8</td> <td>08</td> <td>BS （<strong>B</strong>ack<strong>s</strong>pace）</td> <td>退格</td></tr> <tr><td>XXXX XXXX</td> <td>9</td> <td>09</td> <td>HT （<strong>H</strong>orizontal <strong>T</strong>ab）</td> <td>水平制表符</td></tr> <tr><td>XXXX XXXX</td> <td>10</td> <td>0A</td> <td>LF （<strong>L</strong>ine <strong>F</strong>eed或NL，<strong>N</strong>ew <strong>L</strong>ine,）</td> <td>换行键</td></tr> <tr><td>XXXX XXXX</td> <td>11</td> <td>0B</td> <td>VT （<strong>V</strong>ertical <strong>T</strong>ab）</td> <td>垂直制表符</td></tr> <tr><td>XXXX XXXX</td> <td>12</td> <td>0C</td> <td>FF （NP form feed, new page）</td> <td>换页键</td></tr> <tr><td>XXXX XXXX</td> <td>13</td> <td>0D</td> <td>CR （<strong>C</strong>arriage <strong>R</strong>eturn）</td> <td>回车键</td></tr> <tr><td>XXXX XXXX</td> <td>14</td> <td>0E</td> <td>so （<strong>S</strong>hift <strong>O</strong>ut）</td> <td>不用切换</td></tr> <tr><td>XXXX XXXX</td> <td>15</td> <td>0F</td> <td>SI （<strong>S</strong>hift <strong>I</strong>n）</td> <td>启用切换</td></tr> <tr><td>XXXX XXXX</td> <td>16</td> <td>10</td> <td>DLE （<strong>D</strong>ata <strong>L</strong>ink <strong>E</strong>scape）</td> <td>数据链路转义</td></tr> <tr><td>XXXX XXXX</td> <td>17</td> <td>11</td> <td>DC1 （<strong>D</strong>evice <strong>C</strong>ontrol 1）</td> <td>设备控制1</td></tr> <tr><td>XXXX XXXX</td> <td>18</td> <td>12</td> <td>DC2 （<strong>D</strong>evice <strong>C</strong>ontrol 2）</td> <td>设备控制2</td></tr> <tr><td>XXXX XXXX</td> <td>19</td> <td>13</td> <td>DC3 （<strong>D</strong>evice <strong>C</strong>ontrol 3）</td> <td>设备控制3</td></tr> <tr><td>XXXX XXXX</td> <td>20</td> <td>14</td> <td>DC4 （<strong>D</strong>evice <strong>C</strong>ontrol 4）</td> <td>设备控制4</td></tr> <tr><td>XXXX XXXX</td> <td>21</td> <td>15</td> <td>NAK （<strong>N</strong>egative <strong>A</strong>c<strong>k</strong>nowledge）</td> <td>拒绝接收</td></tr> <tr><td>XXXX XXXX</td> <td>22</td> <td>16</td> <td>SYN （<strong>S</strong>ynchronousidle）</td> <td>传输块结束</td></tr> <tr><td>XXXX XXXX</td> <td>23</td> <td>17</td> <td>ETB （<strong>E</strong>nd of <strong>T</strong>rans <strong>B</strong>lock）</td> <td>正文结束</td></tr> <tr><td>XXXX XXXX</td> <td>24</td> <td>18</td> <td>CAN （<strong>Can</strong>cel）</td> <td>取消</td></tr> <tr><td>XXXX XXXX</td> <td>25</td> <td>19</td> <td>EM （<strong>E</strong>nd of <strong>M</strong>edium）</td> <td>介质中断</td></tr> <tr><td>XXXX XXXX</td> <td>26</td> <td>1A</td> <td>SUB （<strong>Sub</strong>stitute）</td> <td>替补</td></tr> <tr><td>XXXX XXXX</td> <td>27</td> <td>1B</td> <td>ESC （<strong>Esc</strong>ape）</td> <td>溢出</td></tr> <tr><td>XXXX XXXX</td> <td>28</td> <td>1C</td> <td>FS （<strong>F</strong>ile <strong>S</strong>eparator）</td> <td>文件分割符</td></tr> <tr><td>XXXX XXXX</td> <td>29</td> <td>1D</td> <td>GS （<strong>G</strong>roup <strong>S</strong>eparator）</td> <td>分组符</td></tr> <tr><td>XXXX XXXX</td> <td>30</td> <td>1E</td> <td>RS （<strong>R</strong>ecord <strong>S</strong>eparator）</td> <td>记录分离符</td></tr> <tr><td>XXXX XXXX</td> <td>31</td> <td>1F</td> <td>US （<strong>U</strong>nit <strong>S</strong>eparator）</td> <td>单元分隔符</td></tr> <tr><td>XXXX XXXX</td> <td>32</td> <td>20</td> <td>空格</td> <td>空格</td></tr> <tr><td>XXXX XXXX</td> <td>33</td> <td>21</td> <td>!</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>34</td> <td>22</td> <td>&quot;</td> <td>双引号</td></tr> <tr><td>XXXX XXXX</td> <td>35</td> <td>23</td> <td>#</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>36</td> <td>24</td> <td>$</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>37</td> <td>25</td> <td>%</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>38</td> <td>26</td> <td>&amp;</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>39</td> <td>27</td> <td>'</td> <td>单引号</td></tr> <tr><td>XXXX XXXX</td> <td>40</td> <td>28</td> <td>(</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>41</td> <td>29</td> <td>)</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>42</td> <td>2A</td> <td>*</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>43</td> <td>2B</td> <td>+</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>44</td> <td>2C</td> <td>,</td> <td>（英语）逗号</td></tr> <tr><td>XXXX XXXX</td> <td>45</td> <td>2D</td> <td>-</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>46</td> <td>2E</td> <td>.</td> <td>（英语）句号</td></tr> <tr><td>XXXX XXXX</td> <td>47</td> <td>2F</td> <td>/</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>48-57</td> <td>XX</td> <td>0-9</td> <td><font style="background:yellow;">数字</font></td></tr> <tr><td>XXXX XXXX</td> <td>58</td> <td>3A</td> <td>:</td> <td>冒号</td></tr> <tr><td>XXXX XXXX</td> <td>59</td> <td>3B</td> <td>;</td> <td>分号</td></tr> <tr><td>XXXX XXXX</td> <td>60</td> <td>3C</td> <td>&lt;</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>61</td> <td>3D</td> <td>=</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>62</td> <td>3E</td> <td>&gt;</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>63</td> <td>3F</td> <td>?</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>64</td> <td>40</td> <td>@</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>65-90</td> <td>XX</td> <td>A-Z</td> <td><font style="background:yellow;">大写字母</font></td></tr> <tr><td>XXXX XXXX</td> <td>91</td> <td>5B</td> <td>[</td> <td>分号</td></tr> <tr><td>XXXX XXXX</td> <td>92</td> <td>5C</td> <td>\</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>93</td> <td>5D</td> <td>]</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>94</td> <td>5E</td> <td>^</td> <td>位运算的那个异或符号</td></tr> <tr><td>XXXX XXXX</td> <td>95</td> <td>5F</td> <td>_</td> <td>下划线</td></tr> <tr><td>XXXX XXXX</td> <td>96</td> <td>60</td> <td>`</td> <td>键盘上1左边的那个</td></tr> <tr><td>XXXX XXXX</td> <td>97-122</td> <td>XX</td> <td>a-z</td> <td><font style="background:yellow;">小写字母</font></td></tr> <tr><td>XXXX XXXX</td> <td>123</td> <td>7B</td> <td>{</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>124</td> <td>7C</td> <td>|</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>125</td> <td>7D</td> <td>}</td> <td></td></tr> <tr><td>XXXX XXXX</td> <td>126</td> <td>7E</td> <td>~</td> <td>位运算的取反符号</td></tr> <tr><td>XXXX XXXX</td> <td>127</td> <td>7F</td> <td>DEL（delete）</td> <td></td></tr></tbody></table></div> <div class="page-edit"><!----> <!----></div> <!----> </div> <!----></div></div>
    <script src="/assets/js/app.c70e21ad.js" defer></script><script src="/assets/js/119.4ccbe778.js" defer></script>
  </body>
</html>
